package com.aaa.java07;

import java.util.Calendar;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/7/8 14:09
 * @description：测试时间
 * @modified By：
 * @version: 1.0
 */
public class CalendarTest {
    public static void main(String[] args) {
        //获取calendar对象
        Calendar calendar = Calendar.getInstance();
        int i = calendar.get(Calendar.WEEK_OF_YEAR);
        System.out.println(i);
    }
}
